package com.ltedu.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: LteduGatewayApplication
 * @Auther: Jerry
 * @Date: 2020/11/2 10:18
 * @Desctiption: 网关服务启动类
 * @Version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启服务注册
@EnableFeignClients // 开启Feign
@ComponentScan("com.ltedu")
public class LteduGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(LteduGatewayApplication.class, args);
    }
}
